$controls/header()$
<script src="scripts/calendar.js"></script>
$controls/navigation()$ $if(Searched)$
$controls/tableheader(
Caption="搜索结果",
ElementId="search"
)$
<table cellspacing="0" class="inner">
<tr class="category forumtd" style="text-align:center">
<td width="10">&nbsp;</td>
<td align="left">主题标题</td>
<td width="100">所属版面</td>
<td width="150" >主题发起者</td>
<td width="50">回</td>
<td width="50">阅</td>
<td width="200" align="right">最后发表</td>
</tr>
$Results:{r|
<tr class="forumtd">
<td><img src="{IMGDIR}/icon/topic_$r.StatusIcon$.gif" /></td>
<td><a href="{url:topic.aspx?topicid=$r.Id$}" target="_blank">$r.Title$</a></td>
<td align="center"><a href="{url:board.aspx?boardid=$r.BoardId$}">$r.BoardName$</a></td>
<td align="center"><a href="{url:profile.aspx?uid=$r.AuthorId$}">$r.AuthorName$</a></td>
<td align="center" class="small">$r.Replies$</td>
<td align="center" class="small">$r.Views$</td>
<td align="right"> $if(r.HasLastReply)$ <a href="{url:profile.aspx?uid=$r.LastReplyUID$}">$r.LastReplyAuthor$</a> $else$
$r.LastReplyAuthor$
$endif$&nbsp;&rsaquo;&rsaquo;&nbsp;<span class="small t1">$r.LastReplyTime$</span></td>
</tr>
}$
</table>
$controls/tablefooter()$
$Pager$
<select id='boardjump' name='boardjump' onmousewheel='return false' onchange='jump(this)'>
<option value='-1' selected='selected'>论坛快速跳转...</option>

    $BoardStruct$

</select>
$else$
<form action="search.aspx" method="GET" name="SearchForm" id="SearchForm">
$controls/tableheader(
Caption="搜索",
ElementId="search"
)$
<table cellspacing="0" class="inner">
<tr class="forumtd">
<td align="right" width="100"> 关键词：</td>
<td><input name="keyword" id="keyword" type="text" maxlength="60" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
多个关键词间用半角空格分开</td>
</tr>
<tr class="forumno">
<td align="right"> 发布者：</td>
<td><input name="author" id="author" type="text" maxlength="60" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
<input type="checkbox" value="both" name="intable" id="intable" class="smallbox">
同时搜索回帖作者</td>
</tr>
<tr class="category forumtd">
<td colspan="2"><strong>搜索选项</strong></td>
</tr>
<tr class="forumtd">
<td align="right">搜索类型：</td>
<td><input type="radio" value="title" name="type" class="smallbox" checked="checked" />
标题搜索
<input type="radio" value="body" name="type" class="smallbox"$if(DisabledContent)$ disabled="disabled"$endif$ />
全文搜索</td>
</tr>
<tr class="forumno">
<td align="right">版面范围：</td>
<td><select id="boardid" onmousewheel="return false" name="boardid">
<option value="-1" selected>搜索所有论坛版面</option>

    $BoardStruct$
  
</select>
</td>
</tr>
<tr class="forumno">
<td align="right">时间范围：</td>
<td><input id="time1" title="点击打开日期控件" class="input2" onClick="javascript:calendar.setHook(this)" readonly value="$StartTime$" name="time1">
至
<input id="time2" title="点击打开日期控件" class="input2" onClick="javascript:calendar.setHook(this)" readonly value="$EndTime$" name="time2">
为加快搜索速度，推荐用该项缩小范围，默认为最近2个月 </td>
</tr>
<tr class="forumno">
<td align="right">排序方式：</td>
<td><select id="column" name="column">
<option value="lastreplytime" selected>最后回复时间</option>
<option value="issuetime">发表时间</option>
<option value="replies">回复数量</option>
<option value="views">查看次数</option>
</select>
<input type="radio" value="asc" class="smallbox" name="sort">
升序
<input type="radio" value="desc" class="smallbox" name="sort" checked="checked">
降序 </td>
</tr>
<tr class="category forumtd">
<td colspan="2" align="center"><input type="submit" value="  搜 索  " class="button" />
</td>
</tr>
</table>
$controls/tablefooter()$
</form>
$endif$
$controls/footer()$